using System;
using System.Collections.Generic;
using Turquoise.Core.Abstract;

namespace Turquoise.Entities.Data
{

    
    public class UserGroup : IEntity
    {
        public int Id { get; set; }
        public int? ParentId { get; set; }
        public DateTime CreateDate { get; set; }
        public int CreatedBy { get; set; }
        public DateTime UpdateDate { get; set; }
        public int UpdatedBy { get; set; }

        public virtual IList<RoleUserGroupLine> RoleUserGroupLines { get; set; }
        public virtual IList<UserGroupLanguageLine> UserGroupLanguageLines { get; set; }
        public virtual IList<UserGroupRoleLine> UserGroupRoleLines { get; set; }
        public virtual IList<UserGroupUserLine> UserGroupUserLines { get; set; }

        public virtual User User_CreatedBy { get; set; }
        public virtual User User_UpdatedBy { get; set; }
        
        public UserGroup()
        {
            RoleUserGroupLines = new List<RoleUserGroupLine>();
            UserGroupLanguageLines = new List<UserGroupLanguageLine>();
            UserGroupRoleLines = new List<UserGroupRoleLine>();
            UserGroupUserLines = new List<UserGroupUserLine>();
        }
    }

}

